﻿using Abp.Application.Services;
using Choucius.Boilerplate9.DtoBase;
using System.Threading.Tasks;

namespace Choucius.Boilerplate9.T4000
{
    /// <summary>
    /// T4000打印机
    /// </summary>
    public interface IT4000AppService : IApplicationService
    {
        /// <summary>
        /// 调用T4000打印机打印RFID标签，并保存标签信息
        /// </summary>
        /// <param name="ip">打印机IP地址</param>
        /// <param name="port">打印端口</param>
        /// <param name="data">需要打印的数据</param>
        /// <returns></returns>
        Task<ResponseDto> PrintAndSaveAsync(string ip, int port, string data);
    }
}
